/**
 *
 * @param s
 */
function showInfo(s : string | number):number{
    if((s as string).length){
        return (s as string).length;
    }else {
        return (s as number);
    }
}

console.log(showInfo('11444'));
console.log(showInfo(11444));
